[INFO] cloning repository https://github.com/ltriant/nes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ltriant/nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fnes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fnes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0abdb6a0175f5b0670333634fd6d5f81e933cef2
[INFO] building ltriant/nes against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fnes" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ltriant/nes on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ltriant/nes
[INFO] finished tweaking git repo https://github.com/ltriant/nes
[INFO] tweaked toml for git repo https://github.com/ltriant/nes written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/ltriant/nes already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded md5 v0.6.1
[INFO] [stderr]   Downloaded env_logger v0.5.13
[INFO] [stderr]   Downloaded humantime v1.1.1
[INFO] [stderr]   Downloaded sdl2 v0.34.0
[INFO] [stderr]   Downloaded regex v1.0.4
[INFO] [stderr]   Downloaded termcolor v1.0.2
[INFO] [stderr]   Downloaded utf8-ranges v1.0.1
[INFO] [stderr]   Downloaded log v0.4.4
[INFO] [stderr]   Downloaded winapi v0.3.5
[INFO] [stderr]   Downloaded aho-corasick v0.6.8
[INFO] [stderr]   Downloaded sdl2-sys v0.34.0
[INFO] [stderr]   Downloaded ucd-util v0.1.1
[INFO] [stderr]   Downloaded memchr v2.0.2
[INFO] [stderr]   Downloaded regex-syntax v0.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d8fcafdb5782ab9050a5e472353feee62c4e38d584f62ef1a31419b667e2cfa4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d8fcafdb5782ab9050a5e472353feee62c4e38d584f62ef1a31419b667e2cfa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d8fcafdb5782ab9050a5e472353feee62c4e38d584f62ef1a31419b667e2cfa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8fcafdb5782ab9050a5e472353feee62c4e38d584f62ef1a31419b667e2cfa4", kill_on_drop: false }`
[INFO] [stdout] d8fcafdb5782ab9050a5e472353feee62c4e38d584f62ef1a31419b667e2cfa4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc73e217544e4434b7c4658ca7672fe3730420b99a432cf8f995a37c6caa612a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fc73e217544e4434b7c4658ca7672fe3730420b99a432cf8f995a37c6caa612a", kill_on_drop: false }`
[INFO] [stderr]    Compiling regex v1.0.4
[INFO] [stderr]    Compiling sdl2 v0.34.0
[INFO] [stderr]    Compiling termcolor v1.0.2
[INFO] [stderr]    Compiling md5 v0.6.1
[INFO] [stderr]    Compiling memchr v2.0.2
[INFO] [stderr]    Compiling sdl2-sys v0.34.0
[INFO] [stderr]    Compiling log v0.4.4
[INFO] [stderr]    Compiling aho-corasick v0.6.8
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling nes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.08s
[INFO] running `Command { std: "docker" "inspect" "fc73e217544e4434b7c4658ca7672fe3730420b99a432cf8f995a37c6caa612a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc73e217544e4434b7c4658ca7672fe3730420b99a432cf8f995a37c6caa612a", kill_on_drop: false }`
[INFO] [stdout] fc73e217544e4434b7c4658ca7672fe3730420b99a432cf8f995a37c6caa612a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f3b8e4b06e270ae7d223d1c2861a9947f7b23e81d9cdc20ef062b6af5e80ed6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2f3b8e4b06e270ae7d223d1c2861a9947f7b23e81d9cdc20ef062b6af5e80ed6", kill_on_drop: false }`
[INFO] [stderr]    Compiling nes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory`
[INFO] [stdout]    --> src/cpu.rs:956:19
[INFO] [stdout]     |
[INFO] [stdout] 956 |         let mem = NESMemory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/mem.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout] 11  | pub trait Memory {
[INFO] [stdout]     | ---------------- similarly named trait `Memory` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 956 |         let mem = Memory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 948 |     use crate::mem::NESMemory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory`
[INFO] [stdout]    --> src/cpu.rs:973:19
[INFO] [stdout]     |
[INFO] [stdout] 973 |         let mem = NESMemory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/mem.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout] 11  | pub trait Memory {
[INFO] [stdout]     | ---------------- similarly named trait `Memory` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 973 |         let mem = Memory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 948 |     use crate::mem::NESMemory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory`
[INFO] [stdout]    --> src/cpu.rs:991:19
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mem = NESMemory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/mem.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout] 11  | pub trait Memory {
[INFO] [stdout]     | ---------------- similarly named trait `Memory` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mem = Memory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 948 |     use crate::mem::NESMemory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory`
[INFO] [stdout]     --> src/cpu.rs:1016:19
[INFO] [stdout]      |
[INFO] [stdout] 1016 |         let mem = NESMemory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]      |                   ^^^^^^^^^
[INFO] [stdout]      | 
[INFO] [stdout]     ::: src/mem.rs:11:1
[INFO] [stdout]      |
[INFO] [stdout] 11   | pub trait Memory {
[INFO] [stdout]      | ---------------- similarly named trait `Memory` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1016 |         let mem = Memory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]      |                   ^^^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 948  |     use crate::mem::NESMemory;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory`
[INFO] [stdout]     --> src/cpu.rs:1035:19
[INFO] [stdout]      |
[INFO] [stdout] 1035 |         let mem = NESMemory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]      |                   ^^^^^^^^^
[INFO] [stdout]      | 
[INFO] [stdout]     ::: src/mem.rs:11:1
[INFO] [stdout]      |
[INFO] [stdout] 11   | pub trait Memory {
[INFO] [stdout]      | ---------------- similarly named trait `Memory` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1035 |         let mem = Memory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]      |                   ^^^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 948  |     use crate::mem::NESMemory;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/cpu.rs:954:19
[INFO] [stdout]     |
[INFO] [stdout] 954 |         let ppu = PPU::new_nes_ppu();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ppu.rs:311:12
[INFO] [stdout]     |
[INFO] [stdout] 311 |     pub fn new_nes_ppu(cartridge: Rc<RefCell<Box<dyn Mapper>>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^ ---------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/cpu.rs:971:19
[INFO] [stdout]     |
[INFO] [stdout] 971 |         let ppu = PPU::new_nes_ppu();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ppu.rs:311:12
[INFO] [stdout]     |
[INFO] [stdout] 311 |     pub fn new_nes_ppu(cartridge: Rc<RefCell<Box<dyn Mapper>>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^ ---------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/cpu.rs:989:19
[INFO] [stdout]     |
[INFO] [stdout] 989 |         let ppu = PPU::new_nes_ppu();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ppu.rs:311:12
[INFO] [stdout]     |
[INFO] [stdout] 311 |     pub fn new_nes_ppu(cartridge: Rc<RefCell<Box<dyn Mapper>>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^ ---------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ram` on type `Box<(dyn mem::Memory + 'static)>`
[INFO] [stdout]    --> src/cpu.rs:996:28
[INFO] [stdout]     |
[INFO] [stdout] 996 |         assert_eq!(cpu.mem.ram[0x0100 + (cpu.sp as usize) + 1], 0xff);
[INFO] [stdout]     |                            ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ram` on type `Box<(dyn mem::Memory + 'static)>`
[INFO] [stdout]     --> src/cpu.rs:1000:28
[INFO] [stdout]      |
[INFO] [stdout] 1000 |         assert_eq!(cpu.mem.ram[0x100 + (cpu.sp as usize) + 1], 0xad);
[INFO] [stdout]      |                            ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ram` on type `Box<(dyn mem::Memory + 'static)>`
[INFO] [stdout]     --> src/cpu.rs:1001:28
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         assert_eq!(cpu.mem.ram[0x100 + (cpu.sp as usize) + 2], 0xde);
[INFO] [stdout]      |                            ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]     --> src/cpu.rs:1014:19
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let ppu = PPU::new_nes_ppu();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   expected 1 argument
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/ppu.rs:311:12
[INFO] [stdout]      |
[INFO] [stdout] 311  |     pub fn new_nes_ppu(cartridge: Rc<RefCell<Box<dyn Mapper>>>) -> Self {
[INFO] [stdout]      |            ^^^^^^^^^^^ ---------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]     --> src/cpu.rs:1033:19
[INFO] [stdout]      |
[INFO] [stdout] 1033 |         let ppu = PPU::new_nes_ppu();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   expected 1 argument
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/ppu.rs:311:12
[INFO] [stdout]      |
[INFO] [stdout] 311  |     pub fn new_nes_ppu(cartridge: Rc<RefCell<Box<dyn Mapper>>>) -> Self {
[INFO] [stdout]      |            ^^^^^^^^^^^ ---------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `load_rom` found for struct `Box<(dyn mem::Memory + 'static)>` in the current scope
[INFO] [stdout]     --> src/cpu.rs:1041:17
[INFO] [stdout]      |
[INFO] [stdout] 1041 |         cpu.mem.load_rom(&rom);
[INFO] [stdout]      |                 ^^^^^^^^ method not found in `Box<(dyn mem::Memory + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/mem.rs:132:19
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let ppu = PPU::new_nes_ppu();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ppu.rs:311:12
[INFO] [stdout]     |
[INFO] [stdout] 311 |     pub fn new_nes_ppu(cartridge: Rc<RefCell<Box<dyn Mapper>>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^ ---------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/mem.rs:134:23
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut mem = NESMemory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ ---  ---- supplied 2 arguments
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected 3 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/mem.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn new_nes_mem(ppu: Rc<RefCell<PPU>>,
[INFO] [stdout]     |            ^^^^^^^^^^^ ---------------------
[INFO] [stdout] 113 |                        apu: Rc<RefCell<APU>>,
[INFO] [stdout]     |                        ---------------------
[INFO] [stdout] 114 |                        controller: Rc<RefCell<Controller>>)
[INFO] [stdout]     |                        -----------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         assert_eq!(mem.read(0x1000), Ok(0));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         assert_eq!(mem.write(0x1000, 5), Ok(5));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_eq!(mem.read(0x1000), Ok(5));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `load_rom` found for struct `mem::NESMemory` in the current scope
[INFO] [stdout]    --> src/mem.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct NESMemory {
[INFO] [stdout]     | -------------------- method `load_rom` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 142 |         mem.load_rom(&vec![0; 0x8000]);
[INFO] [stdout]     |             ^^^^^^^^ method not found in `mem::NESMemory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert_eq!(mem.read(0x8000), Ok(0));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |         assert_eq!(mem.read(0x8001), Ok(0));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         assert_eq!(mem.read(0xffff), Ok(0));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/mem.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let ppu = PPU::new_nes_ppu();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ppu.rs:311:12
[INFO] [stdout]     |
[INFO] [stdout] 311 |     pub fn new_nes_ppu(cartridge: Rc<RefCell<Box<dyn Mapper>>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^ ---------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/mem.rs:152:23
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let mut mem = NESMemory::new_nes_mem(ppu, ctrl);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ ---  ---- supplied 2 arguments
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected 3 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/mem.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn new_nes_mem(ppu: Rc<RefCell<PPU>>,
[INFO] [stdout]     |            ^^^^^^^^^^^ ---------------------
[INFO] [stdout] 113 |                        apu: Rc<RefCell<APU>>,
[INFO] [stdout]     |                        ---------------------
[INFO] [stdout] 114 |                        controller: Rc<RefCell<Controller>>)
[INFO] [stdout]     |                        -----------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `load_rom` found for struct `mem::NESMemory` in the current scope
[INFO] [stdout]    --> src/mem.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct NESMemory {
[INFO] [stdout]     | -------------------- method `load_rom` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 153 |         mem.load_rom(&vec![0; 0x8000]);
[INFO] [stdout]     |             ^^^^^^^^ method not found in `mem::NESMemory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_eq!(mem.read(0x8000), Ok(0));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_eq!(mem.read(0xffff), Ok(0));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `load_rom` found for struct `mem::NESMemory` in the current scope
[INFO] [stdout]    --> src/mem.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct NESMemory {
[INFO] [stdout]     | -------------------- method `load_rom` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 156 |         mem.load_rom(&vec![1; 0x8000]);
[INFO] [stdout]     |             ^^^^^^^^ method not found in `mem::NESMemory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |         assert_eq!(mem.read(0x8000), Ok(1));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mem.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         assert_eq!(mem.read(0xffff), Ok(1));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u8`
[INFO] [stdout]                found enum `Result<{integer}, _>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 31 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nes`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "2f3b8e4b06e270ae7d223d1c2861a9947f7b23e81d9cdc20ef062b6af5e80ed6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f3b8e4b06e270ae7d223d1c2861a9947f7b23e81d9cdc20ef062b6af5e80ed6", kill_on_drop: false }`
[INFO] [stdout] 2f3b8e4b06e270ae7d223d1c2861a9947f7b23e81d9cdc20ef062b6af5e80ed6
